package com.itheima.tlias84.mapper;

import com.itheima.tlias84.Po.InsertLogParam;
import com.itheima.tlias84.Po.SelectLogPageParam;
import com.itheima.tlias84.entity.Log;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface LogMapper {
    List<Log> listLogsByPage(@Param("p") SelectLogPageParam param);


    int insertLog(@Param("log") InsertLogParam log);

}
